package com.tchhy.provider.data.healthy.response

/**
 * Created by admin on 2019-12-19
 */
data class MarketGoodsDetail(
    var commodityId: Long,
    var commodityMallParameterDTO: CommodityMallParameterDTO,
    var freight: Long,
    var headImgUrl: HeadImgUrl,
    var mallCrossedPrice: Float,
    var mallPrice: Float,
    var materialsId: Float,
    var price: Long,
    var type: Int,
    var salesName: String,
    var salesVolume: Long,
    var status: Boolean,
    var subtitle: String,
    var videoUrl: VideoUrl,
    var bannerUrl: List<BannerUrl>,
    var detailUrl: List<DetailUrl>
) {
    data class CommodityMallParameterDTO(
        var barCode: Long? = null,
        var dosageCodeName: String? = null,
        var dosageFormat: String? = null,
        var indication: String? = null,
        var manufacturer: String? = null,
        var name: String? = null,
        var packageFormat: String? = null,
        var precautions: String? = null,
        var pzwh: String? = null,
        var tabooCrowd: String? = null,
        var typeCodeName: String? = null,
        var usageCodeName: String? = null,
        var model: String? = null,
        var screenSize: String? = null,
        var memory: String? = null,
        var versionInfo: String? = null
    )

    data class HeadImgUrl(
        var length: Long,
        var name: String,
        var url: String
    )

    data class VideoUrl(
        var length: Long,
        var name: String,
        var url: String
    )

    data class BannerUrl(
        var length: Long,
        var name: String,
        var url: String
    )

    data class DetailUrl(
        var length: Long,
        var name: String,
        var url: String
    )
}